SBEnvironment

interface SBEnvironment

The base definition of a Sensibill API Environment that the Sensibill SDK can interact with.

Properties

certificatePins
Link copied to clipboard
abstract val certificatePins: List<String>
The list of certificate pins for this Sensibill Environment
hasHttps
Link copied to clipboard
abstract val hasHttps: Boolean
If the Sensibill environment is using https (true) or http (false)
hostName
Link copied to clipboard
abstract val hostName: String
the host name of the Sensibill Environment.
v1BaseUrl
Link copied to clipboard
abstract val v1BaseUrl: String
The base url of the API v1 endpoints.
v2BaseUrl
Link copied to clipboard
abstract val v2BaseUrl: String
The base url of the API v2 endpoints.

Inheritors

DefaultEnvironment
Link copied to clipboard

Extensions

defaultV1BaseUrl
Link copied to clipboard
fun SBEnvironment.defaultV1BaseUrl(): String
The default v1 Base Url
defaultV2BaseUrl
Link copied to clipboard
fun SBEnvironment.defaultV2BaseUrl(): String
The default v2 Base Url